-
Notifications
You must be signed in to change notification settings - Fork 144
Only set the externalTrafficPolicy when spec.type is not ClusterIP #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Trivy seems to be setup incorrectly |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
When can we expect this to be merged? |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
/unstale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR prevents setting the externalTrafficPolicy
field when the Kubernetes service type is ClusterIP
, which is not supported according to Kubernetes issue #67202.
- Added a conditional check to only set
externalTrafficPolicy
when service type is notClusterIP
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Adrian Nöthlich <[email protected]>
@WebSpider can you please rebase? |
Setting the
externalTrafficPolicy
to anything non-default is not supported onClusterIP
as per kubernetes/kubernetes#67202Fixes #266